Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop content-length header in compressed decorator #148

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

jodersky
Copy link
Member

@jodersky jodersky commented Nov 3, 2024

Since we're compressing data on the fly, we can't know the content-length ahead of time. While requests 0.8.0 (which uses the JDK's URLConnection) allowed this, requests 0.9.0 (which uses the new HttpClient API) is stricter and fails.

Also upgrade requests to 0.9.0

Since we're compressing data on the fly, we can't know the
content-length ahead of time. While requests 0.8.0 (which uses the
JDK's URLConnection) allowed this, requests 0.9.0 (which uses the new
HttpClient API) is stricter and fails.

Also upgrade requests to 0.9.0
@jodersky jodersky merged commit 98aa493 into master Nov 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant